package com.example.demo.modules.base.serviceimpl;

import com.example.demo.modules.base.dao.ResourceDao;
import com.example.demo.modules.base.entity.Resource;
import com.example.demo.modules.base.service.ResourceService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.List;

/**
 * 角色权限接口实现
 * @author yw
 */
@Slf4j
@Service
@Transactional
public class ResourceServiceImpl implements ResourceService {

    @Autowired
    private ResourceDao resourceDao;

    @Override
    public ResourceDao getRepository() {
        return resourceDao;
    }


}